package com.ruoyi.ax.service;

import java.util.List;
import com.ruoyi.ax.domain.AxReceiveAddress;

/**
 * 收货地址维护Service接口
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public interface IAxReceiveAddressService 
{
    /**
     * 查询收货地址维护
     * 
     * @param id 收货地址维护主键
     * @return 收货地址维护
     */
    public AxReceiveAddress selectAxReceiveAddressById(Long id);

    /**
     * 查询收货地址维护列表
     * 
     * @param axReceiveAddress 收货地址维护
     * @return 收货地址维护集合
     */
    public List<AxReceiveAddress> selectAxReceiveAddressList(AxReceiveAddress axReceiveAddress);

    /**
     * 新增收货地址维护
     * 
     * @param axReceiveAddress 收货地址维护
     * @return 结果
     */
    public int insertAxReceiveAddress(AxReceiveAddress axReceiveAddress);

    /**
     * 修改收货地址维护
     * 
     * @param axReceiveAddress 收货地址维护
     * @return 结果
     */
    public int updateAxReceiveAddress(AxReceiveAddress axReceiveAddress);

    /**
     * 批量删除收货地址维护
     * 
     * @param ids 需要删除的收货地址维护主键集合
     * @return 结果
     */
    public int deleteAxReceiveAddressByIds(Long[] ids);

    /**
     * 删除收货地址维护信息
     * 
     * @param id 收货地址维护主键
     * @return 结果
     */
    public int deleteAxReceiveAddressById(Long id);

   // 清空默认信息
    public int updateAxReceiveAddressByUserId(AxReceiveAddress axReceiveAddress);
}
